<?php
	if(is_array($_POST['item_id'])) {
		$item_id = $_POST['item_id'];
		$sql = "DELETE FROM `tbl_product_item`  WHERE `item_id` IN (". implode (',',$item_id) .")";
	} else { 
		$item_id = $params[2]; 
		$sql = "DELETE FROM `tbl_product_item`  WHERE `item_id` = '$item_id' LIMIT 1"; 
	}
	mysql_query($sql);
	exit;
?>